<!DOCTYPE html>
<html>
<head>
    <title>商品报损</title>
    <#include "../common.ftl">
</head>
<body class="childrenBody">

<form class="layui-form" >
    <input type="hidden" name="damageNumber" value="${damageNumber!}" >
    <input type="hidden" name="goodsJson" >
    <blockquote class="layui-elem-quote quoteBox">
        <fieldset class="layui-elem-field site-demo-button" >
            <legend>单号:${damageNumber!}</legend>
            <div class="layui-row">
                <div class="layui-col-xs4">
                    <label class="layui-form-label">开单日期</label>
                    <div class="layui-input-block">
                        <input type="text" name="damageDate" id="damageDate" lay-verify="damageDate"
                               placeholder="yyyy-MM-dd" autocomplete="off" readonly="readonly" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-xs4">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input remarks"
                               name="remarks" id="remarks" >
                    </div>
                </div>
                <div class="layui-col-xs4">
                    <label class="layui-form-label"></label>
                    <button class="layui-btn layui-btn-lg" lay-submit=""
                            lay-filter="addDamageList">保存
                    </button>
                </div>

            </div>
        </fieldset>
    </blockquote>
    <table id="damageList" class="layui-table"  lay-filter="damages"></table>

    <#--操作-->
    <script id="goodsListBar" type="text/html">
        <a class="layui-btn layui-btn-xs" id="edit" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
    </script>


    <script type="text/html" id="toolbarDemo">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-normal addNews_btn" lay-event="add">
                <i class="layui-icon">&#xe608;</i>
                添加
            </a>
        </div>
    </script>
</form>
<script type="text/javascript" src="${ctx.contextPath}/js/damage/damage.js"></script>

</body>
</html>